package com.usian.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/*
 * 作者：m鹏h
 * 时间；2023/8/5 13:16
 * 描述：
 **/
@Data
@ToString
@TableName(value = "catalogue")
public class Catalogue {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String catalogueName;
    private String info;
    private String catalogueSort;

    private Integer couId;

    private Integer parId;

    @TableField(exist = false)
    private List<Catalogue> childrenList;



    @TableField(exist = false)
    private  Integer Level;

    @TableField(exist = false)
    private List Children;


}

